﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace HpxWMS_Api.Models
{
    /// <summary>
    /// 更新用户模型
    /// </summary>
    public class Ue
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        [Required(ErrorMessage = "ID是必须的")]
        public int Id { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        [Required(ErrorMessage = "用户名是必须的")]
        [MinLength(5, ErrorMessage = "用户名不能小于5")]
        public string UserName { get; set; }
        /// <summary>
        /// 姓名（昵称）
        /// </summary>
        public string NickName { get; set; }
    }
}